<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	<title>公司劳务合同管理</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="<%=basePath%>datemaker/calendar.js"></script>
	<script type="text/javascript" src="<%=basePath%>datemaker/WdatePicker.js"></script>
	<script type="text/javascript" src="<%=basePath%>manage/js/jquery.js"></script>
	<script type="text/javascript" src="<%=basePath%>manage/js/addbg.js"></script>
	<script type="text/javascript" src="<%=basePath%>manage/js/formContractService.js"></script>
	<script type="text/javascript" src="<%=basePath%>dwr/engine.js"></script>
	<script type="text/javascript" src="<%=basePath%>dwr/util.js"></script>
	<script type="text/javascript" src="<%=basePath%>dwr/interface/checkStaffService.js"></script>
	<link rel="stylesheet" type="text/css" href="<%=basePath%>manage/css/addTravel.css"></link>
	</head>
	<body>
	<center>
		<s:form action="addContractService" namespace="/" method="POST" name="addContractService" id="addContractService"
			enctype="multipart/form-data" onsubmit="return login()">
			<table>
			<thead>
			<tr>
			<td colspan="2" align="center">公司劳务合同管理</td>
			</tr>
			</thead>
			<tbody>
			<tr>
				<td><label for="staffId">员&nbsp;工&nbsp;编&nbsp;号</label></td>
				<td><input type="text" name="staffId" id="staffId" onblur="checkstaffId()"/>
					<span class="emphasize">*</span> </td>
			</tr>
			<tr>
				<td><label for="contractServiceType">合&nbsp;同&nbsp;类&nbsp;型</label></td>
				<td>
					<select type="text" name="contractServiceTypeId" id="contractServiceTypeId">
						<option value="">==请选择==</option>
						<option value="1">实习合同</option>
						<option value="2">试用合同</option>
						<option value="3">正式合同</option>
					</select>
					<span class="emphasize">*</span>
				</td>
			</tr>
			<tr>
				<td><label for="contractServiceStart">合同开始日期</label></td>
				<td><input type="text" name="contractServiceStart" class="Wdate" onclick="WdatePicker()" id="contractServiceStart"/>
					<span class="emphasize">*</span></td>
			</tr>
			<tr>
				<td><label for="contractServiceEnd">合同结束日期</label></td>
				<td><input type="text" name="contractServiceEnd" class="Wdate" onclick="WdatePicker()" id="contractServiceEnd"/>
					<span class="emphasize">*</span></td>
			</tr>
			<tr>
				<td><label for="file">合&nbsp;同&nbsp;文&nbsp;件</label></td>
				<td><s:file name="upload" value="选择文件" accept="image/*"/>
					<span class="emphasize">*</span></td>
			</tr>
			</tbody>
			<tfoot>
 		<tr>
	 		<td colspan="2" align="center" height="45px">
		 		<input class="submit" type="submit" value="提交"/>
		 		<input class="reset" type="reset" value="重置"/>
 			</td>
 		</tr>
 		</tfoot>
			</table>
		</s:form>
	</center>
	</body>
</html>